package com.syx.entity;

public class Car {
    private Integer cid;
    private String cname;
    private String price;
    private String pic;
    private String zk;
    private String mx;
    private Integer tid;

    public Car() {
    }

    public Car(Integer cid, String cname, String price, String pic, String zk, String mx, Integer tid) {
        this.cid = cid;
        this.cname = cname;
        this.price = price;
        this.pic = pic;
        this.zk = zk;
        this.mx = mx;
        this.tid = tid;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getZk() {
        return zk;
    }

    public void setZk(String zk) {
        this.zk = zk;
    }

    public String getMx() {
        return mx;
    }

    public void setMx(String mx) {
        this.mx = mx;
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    @Override
    public String toString() {
        return "Car{" +
                "cid=" + cid +
                ", cname='" + cname + '\'' +
                ", price='" + price + '\'' +
                ", pic='" + pic + '\'' +
                ", zk='" + zk + '\'' +
                ", mx='" + mx + '\'' +
                ", tid=" + tid +
                '}';
    }
}
